<template>
  <div class="flex flex-col">
    <div class="flex flex-row">
      <NuxtLink :to="{ name: 'custom-index-route-name' }" class="px-4 py-3">
        欢迎
      </NuxtLink>
      <NuxtLink to="/pinia-demo/edit" class="px-4 py-3"> pinia示例 </NuxtLink>
      <NuxtLink to="/router-demo" class="px-4 py-3">router示例</NuxtLink>
      <NuxtLink :to="{ name: 'swiperjs-demo' }" class="px-4 py-3">
        swiperjs示例
      </NuxtLink>
    </div>
    <div class="xl:w-[1200px] xl:m-auto">
      <slot />
    </div>
  </div>
</template>
